package com.app.system.domain;/**
 * @program: app-admin
 * @name AppUser
 * @description: APP用户
 */

import com.app.common.annotation.Excel;
import com.app.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 *@author:
 *@program: app-admin
 *@name AppUser
 *@description: APP用户
 */
@Data
@TableName(value = "APP_USER" )
@ApiModel(value = "AppUser" , description = "APP用户" )
public class AppUser extends BaseEntity {

    @TableField(exist = false)
    private static final long serialVersionUID=1L;

    /** APP用户ID */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "APP用户ID")
    private String apUrId;

    /** APP用户名称 */
    @Excel(name = "APP用户名称" )
    @ApiModelProperty(value = "APP用户名称")
    private String apUrName;

    /** APP用户手机号 */
    @Excel(name = "APP用户手机号" )
    @ApiModelProperty(value = "APP用户手机号")
    private String apUrPhone;

    /** APP用户密码 */
    @Excel(name = "APP用户密码" )
    @ApiModelProperty(value = "APP用户密码")
    private String apUrPwd;

    /** APP用户性别（1=男,2=女） */
    @Excel(name = "APP用户性别（1=男,2=女）" )
    @ApiModelProperty(value = "APP用户性别（1=男,2=女）")
    private String apUrSex;

    /** APP用户出生日期（yyyy-mm-dd） */
    @Excel(name = "APP用户出生日期（yyyy-mm-dd）" )
    @ApiModelProperty(value = "APP用户出生日期（yyyy-mm-dd）")
    private String apUrBirthday;

    /** APP用户头像地址 */
    @Excel(name = "APP用户头像地址" )
    @ApiModelProperty(value = "APP用户头像地址")
    private String apUrAvatar;

    /** APP用户身份证号 */
    @Excel(name = "APP用户身份证号" )
    @ApiModelProperty(value = "APP用户身份证号")
    private String apUrCard;

    /** APP用户上次登录时间 */
    @Excel(name = "APP用户上次登录时间" )
    @ApiModelProperty(value = "APP用户上次登录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date apUrLastTime;

    /** 删除标志（0=正常,2=删除） */
    @Excel(name = "删除标志（0=正常,2=删除）" )
    @ApiModelProperty(value = "删除标志（0=正常,2=删除）")
    private String delFlag;
}
